package mx.itesm.gda.clever.ui;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class CleverPerspectiveFactory implements IPerspectiveFactory {
	
	public void createInitialLayout(final IPageLayout layout) {
		String editorArea = layout.getEditorArea();
		layout.setEditorAreaVisible(true);
		// layout.addView(TokensView.ID, IPageLayout.BOTTOM, 0.75f, editorArea);
		layout.addView(ErrorsView.ID, IPageLayout.BOTTOM, 0.75f, editorArea);
		layout.addView(SyntaxTreeView.ID, IPageLayout.LEFT, 0.25f, editorArea);
		layout.addView(SymbolTableView.ID, IPageLayout.RIGHT, 0.67f, editorArea);
	}
	
}
